package com.yllt4cloud.ddauth.service.impl;

import com.yllt4cloud.common.ddbase.domain.ConfirmAuthority;
import com.yllt4cloud.ddauth.mapper.ConfirmAuthorityMapper;
import com.yllt4cloud.ddauth.service.IConfirmAuthorityService;
import com.yllt4cloud.ddauth.service.base.BaseService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * 
 * <br>
 * <b>功能：</b>ConfirmAuthorityServiceImpl<br>
 * <b>作者：</b>Administrator<br>
 * <b>日期：</b> Wed Feb 13 10:23:38 CST 2019 <br>
 * <b>版权所有： 2016,yllt.com<br>
 */ 
@Service
@Transactional
public class ConfirmAuthorityServiceImpl extends BaseService<ConfirmAuthority> implements IConfirmAuthorityService {
	private final static Logger log= LoggerFactory.getLogger(ConfirmAuthorityServiceImpl.class);

	@Autowired
    private ConfirmAuthorityMapper mapper;

		
	public ConfirmAuthorityMapper getMapper() {
		return mapper;
	}
	
	@Override
	public Integer insert(ConfirmAuthority record) {
		mapper.insert(record);
		return record.getId();
	}
	

}
